//
//  HHTabBarController.m
//  HHChatKit
//
//  Created by Henry on 2021/5/10.
//

#import "HHTabBarController.h"
#import "HHConversationDemoViewController.h"

@interface HHTabBarController ()

@end

@implementation HHTabBarController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    HHConversationDemoViewController *conversation = [[HHConversationDemoViewController alloc] init];
    UINavigationController *conversationNav = [[UINavigationController alloc] initWithRootViewController:conversation];
    
    conversationNav.title = @"会话";
    
    [self addChildViewController:conversationNav];
    
    UIViewController *vc = [[UIViewController alloc] init];
    UINavigationController *vcNav = [[UINavigationController alloc] initWithRootViewController:vc];
        
    vcNav.title = @"我的";
    
    [self addChildViewController:conversationNav];
    [self addChildViewController:vcNav];


}



@end
